package com.aistar.helper.day02;

import java.sql.SQLOutput;

/**
 * 本类用来演示
 **/
public class OperatorDemo {
    public static void main(String[] args) {
        int a = 10;
        int b = 5;
        System.out.println(a+b);
        System.out.println(a-b);
        System.out.println(a*b);
        System.out.println(a/b);
        System.out.println(a%b);
        System.out.println(a^b);
        System.out.println(a^b^a);
        System.out.println(a++);
        System.out.println(++a);
        System.out.println(a+1);
        System.out.println(a);
        System.out.println(a+=b);
        System.out.println(b+=a);
        int c = 20;
        a = (c>30)?100:200;
        System.out.println(c>30?b:a);
        long l = 100;
        String aa = "A";
        boolean bb = aa instanceof String;
        System.out.println(bb);

    }


}
